#ifndef RTC_STM32_H_
#define RTC_STM32_H_

#include "stdlib.h"
typedef struct{
	int day;
	int month;
	int year;
	int hour;
	int minute;
	int second;
}DateTime;

//function
void SetRTCtime(DateTime date);
void GetRTCtime(DateTime* date);

#endif
